package com.yuanchu.marketing.dto;

import com.yuanchu.common.validator.ValidationGroups;
import com.yuanchu.marketing.entity.YoshopRechargePlanEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-03-03 14:31
 */
@Data
public class RechargePlanParamsDto {
    @NotNull(message = "套餐id不能为空", groups = {ValidationGroups.Update.class, ValidationGroups.Delete.class})
    private Integer planId;
    private YoshopRechargePlanEntity form;
}
